/*
* Copyright © 2018 Union Mobile Financial Technology Co.Ltd
* All Rights Reserved
* @Description: TODO(功能描述)
* @author lile 
* @date 2018年2月7日 上午11:47:54
*
*/ 
package com.umpay.dto.memberMgr.req;

import org.hibernate.validator.constraints.NotEmpty;

import com.umpay.annotation.Pattern;
import com.umpay.dto.memberMgr.CommonParameters;

/**
***********************************************************
* @ClassName: MemberSuppAccountReq
* @Description: 会员增开账户请求dto
* @author lile
* @date 2018年2月7日 上午11:47:54
* @version 1.0 
*
* Modification History:
* Date         Author          Version            Description
*---------------------------------------------------------*
* 2018年2月7日     lile           v1.0.0               修改原因
************************************************************
*/
public class MemberSuppAccountReq extends CommonParameters {
		
	/**
	* @Fields bProductId : 业务产品号
	*/
	@NotEmpty
	@Pattern
	private String bProductId;
	
	/**
	* @Fields userId : 商户用户号
	*/
	@NotEmpty
	@Pattern
	private String userId;
	
	/**
	* @Fields accType : 账户类型 
	* 201:商户现金
	* 202:待清分
	* 203:手续费账户
	* 208:对公现金账户
	* 209:对私现金账户
	*/
	@NotEmpty
	@Pattern
	private String accType;
	
	/**
	* @Fields trace : 请求流水
	*/
	@NotEmpty
	@Pattern
	private String trace;
	
	/**
	* @Fields instId : 机构号
	*/
	@NotEmpty
	@Pattern
	private String instId;
	
	/**
	* @Fields accDate : 账期
	*/
	private String accDate;

	public String getbProductId() {
		return bProductId;
	}

	public void setbProductId(String bProductId) {
		this.bProductId = bProductId;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}
	
	
	public String getAccType() {
		return accType;
	}

	public void setAccType(String accType) {
		this.accType = accType;
	}

	public String getTrace() {
		return trace;
	}

	public void setTrace(String trace) {
		this.trace = trace;
	}
	
	

	public String getInstId() {
		return instId;
	}

	public void setInstId(String instId) {
		this.instId = instId;
	}
	
	
	public String getAccDate() {
		return accDate;
	}

	public void setAccDate(String accDate) {
		this.accDate = accDate;
	}

	@Override
	public String toString() {
		return super.toString().replaceAll("]", ", ")+"bProductId=" + bProductId + ", userId=" + userId + ", accType=" + accType
				+ ", trace=" + trace + ", instId=" + instId + ", accDate=" + accDate + "]";
	}

	
	

}
